
def outer():
    print('outer')

    def inner():
        print('inner')

    return inner

a = outer()
a()